{extend name="base" /}
{block name="content"}
<div class="layui-fluid">
  <div class="layui-card">
    <div class="layui-tab layui-tab-brief">
      <ul class="layui-tab-title">
        <li class="layui-this">废单记录</li>
      </ul>
      <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
          <form class="layui-form" action="">
            <div class="layui-form-item">
              <div class="layui-inline">
                <input type="text" name="name" placeholder="请输入联系人姓名" value="{$name}" class="layui-input">
              </div>
              <div class="layui-inline">
                <button class="layui-btn" lay-submit>搜索</button>
              </div>
            </div>

            <table class="layui-table" lay-size="sm">
              <thead>
                <tr>
                  <th>ID</th>
                   <th>主单ID</th>
                  <th>联系人</th>
                  <th>电话</th>
                  <!--<th>服务类型</th>-->
                  <!--<th>截至时间</th>-->
                  <th>创建人</th>
                  <th>废单时间</th>
                  <th>废单原因</th>
                </tr>
              </thead>
              <tbody>
                {foreach name="list" item="vo"}
                <tr>
                  <td>{$vo.id}</td>
                   <th>{$vo.application_id}</th>
                  <td>{$vo.name}</td>
                  <td>{$vo.phone}</td>
                  <!--<td>{$vo.type}</td>-->
                  <!--<td>{:date('Y-m-d', $vo.end_time)}</td>-->
                  <td>{$vo.create_name}</td>
                  <td>{:date('Y-m-d H:i:s', $vo.create_time)}</td>
                  <td>{$vo.reason}</td>
                </tr>
                {/foreach}
              </tbody>
            </table>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
{/block}
